<%@ page import="stravel.User" %>



        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="username">
          <g:message code="user.username.label" default="Username" />
          <span class="required-indicator">*</span>
        </label>
        <div class="col-sm-10">
              <g:textField name="username" required="" value="${userInstance?.username}"/>

        </div>
  </div>

        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="password">
          <g:message code="user.password.label" default="Password" />
          <span class="required-indicator">*</span>
        </label>
        <div class="col-sm-10">
              <g:textField name="password" required="" value="${userInstance?.password}"/>

        </div>
  </div>

        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="accountExpired">
          <g:message code="user.accountExpired.label" default="Account Expired" />
          
        </label>
        <div class="col-sm-10">
              <g:checkBox name="accountExpired" value="${userInstance?.accountExpired}" />

        </div>
  </div>

        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="accountLocked">
          <g:message code="user.accountLocked.label" default="Account Locked" />
          
        </label>
        <div class="col-sm-10">
              <g:checkBox name="accountLocked" value="${userInstance?.accountLocked}" />

        </div>
  </div>

        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="enabled">
          <g:message code="user.enabled.label" default="Enabled" />
          
        </label>
        <div class="col-sm-10">
              <g:checkBox name="enabled" value="${userInstance?.enabled}" />

        </div>
  </div>

        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="oAuthIDs">
          <g:message code="user.oAuthIDs.label" default="O Auth ID s" />
          
        </label>
        <div class="col-sm-10">
              
<ul class="one-to-many">
<g:each in="${userInstance?.oAuthIDs?}" var="o">
    <li><g:link controller="OAuthID" action="show" id="${o.id}">${o?.encodeAsHTML()}</g:link></li>
</g:each>
<li class="add">
<g:link controller="OAuthID" action="create" params="['user.id': userInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'OAuthID.label', default: 'OAuthID')])}</g:link>
</li>
</ul>


        </div>
  </div>

        
  <div class="form-group">
        <label class="col-sm-2 control-label" for="passwordExpired">
          <g:message code="user.passwordExpired.label" default="Password Expired" />
          
        </label>
        <div class="col-sm-10">
              <g:checkBox name="passwordExpired" value="${userInstance?.passwordExpired}" />

        </div>
  </div>

